package com.yang.constants;


/**
 * <p>
 *  redis的系统常量
 * </p>
 *
 * @author yang
 * @since 2022-10-22
 */
public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;
    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 30L;
    public static final Long CACHE_NULL_TTL = 2L;
    public static final Long CACHE_SHOP_TTL = 30L;
    public static final String CACHE_SHOP_KEY = "cache:shop:";
    public static final String CACHE_TYPE_LIST = "cache:type:list";
    public static final String LOCK_SHOP_KEY = "lock:shop:";
    public static final String LOCK_CACHE_KEY = "lock:cache:";
    public static final String BLOG_LIKED_CNT_KEY = "blog:likeCount:";
    public static final String BLOG_LIKED_CNT = "blog:like:Count:";
    public static final String BLOG_LIKED_KEY_MAP = "blog:like:map:";
    public static final String BLOG_LIKED_KEY = "blog:liked:";
    public static final String SECKILL_STOCK_KEY = "seckill:stock:";
    public static final String SECKILL_ORDER_KEY = "seckill:order:";
    public static final String FEED_KEY = "feed:";
    public static final String FOLLOWS_KEY = "follows:";
    public static final String SHOP_GEO_KEY = "shop:geo:";
    public static final String USER_SIGN_KEY = "sign:";
    public static final String MESSAGE_SET_KEY = "message:key";

}
